import ReactDOM from 'react-dom'
import React from 'react'
// !#1 导入包
import { Provider } from 'react-redux'
// 一定要引入才能执行 store 里面的代码
import store from './store'
import App from './App'

// !#2 包裹跟组件并传递 store
ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.querySelector('#react')
)